﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Threading.Tasks;

namespace AspDemo.Models
{
    public class User
    {
        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public string UId { get; set; }

        public string DeviceId { get; set; }

        public string Name { get; set; }

        public string SecretMd5 { get; set; }

        public List<Record> Records { get; set; }

    }
}
